package org.example.framework.BeanDefinitionMap;

import org.example.framework.BeanDefinition.BeanDefinition;
import org.example.framework.BeanException.BeanException;

import java.util.HashMap;
import java.util.Map;


public interface BeanDefinitionMap {
    void addBeanDefinition(String beanName, BeanDefinition beanDefinition);
    void removeBeanDefinition(String beanName) throws Exception;
    BeanDefinition getBeanDefinition(String beanName) throws Exception;
    boolean containsBeanDefinition(String beanName);
    int getBeanDefinitionCount();
    String[] getBeanDefinitionNames();
}

